package com.lhd.qd.module.system.employee.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lhd.qd.common.base.BasePageQuery;
import com.lhd.qd.module.system.employee.model.dto.EmployeePageQuery;
import com.lhd.qd.module.system.employee.model.dto.EmployeeSaveDTO;
import com.lhd.qd.module.system.employee.model.vo.EmployeeDetailVO;
import com.lhd.qd.module.system.employee.model.vo.EmployeeListVO;

public interface EmployeeService {

    IPage<EmployeeListVO> pageEmployee(EmployeePageQuery query);

    EmployeeDetailVO getEmployeeById(Long id);

    boolean saveEmployee(EmployeeSaveDTO saveDTO);

    boolean updateEmployeeById(Long id, EmployeeSaveDTO saveDTO);

    boolean removeEmployeeById(Long id);
}
